package org.dev.vlp.service;

import org.dev.vlp.constants.EnumNotificationCategory;
import org.dev.vlp.entity.Notification;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dev.vlp.utils.PageResult;
import org.dev.vlp.vo.AtNotificationVo;
import org.dev.vlp.vo.CommentNotificationVo;
import org.springframework.data.domain.PageRequest;

import java.util.List;

/**
* @author 86184
* @description 针对表【vlp_notification(通知表)】的数据库操作Service
* @createDate 2023-01-13 13:12:44
*/
public interface NotificationService extends IService<Notification> {

    void sendNotification(Notification notification,long userId);

    PageResult queryAtInfo(int page, int size, long userId);

    void clearNotificationCount(EnumNotificationCategory category,long userId);

    PageResult queryCommentInfo(int page, int size,long userId);

    PageResult queryLikeInfo(long userId,int page,int size);
}
